using System;
using System.Linq;
 
namespace XpressNews.Models
{
    public class Article
    {
        private int _id;
        private String _title = "";
        private String _introText = "";
        private String _content = "";
        private String _author = "";
        private DateTime _publishDate;
        private String _linkImage = "";

        public Article()
        {
        }

        public int Id
        {
            get
            {
                return this._id;
            }
            set
            {
                this._id = value;
            }
        }

        public string Title
        {
            get
            {
                return this._title;
            }
            set
            {
                this._title = value;
            }
        }

        public string IntroText
        {
            get
            {
                return this._introText;
            }
            set
            {
                this._introText = value;
            }
        }

        public string Content
        {
            get
            {
                return this._content;
            }
            set
            {
                this._content = value;
            }
        }

        public string Author
        {
            get
            {
                return this._author;
            }
            set
            {
                this._author = value;
            }
        }

        public DateTime PublishDate
        {
            get
            {
                return this._publishDate;
            }
            set
            {
                this._publishDate = value;
            }
        }

        public string LinkImage
        {
            get
            {
                return this._linkImage;
            }
            set
            {
                this._linkImage = value;
            }
        }
    }
}